package com.codeduck.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 董代恒
 * @version 1.0
 */
@Data
@ApiModel(value = "题目DTO")
public class CodeDuckQuestionDTO {
    @ApiModelProperty(value = "题目ID，主键")
    private String id;

    @ApiModelProperty(value = "题目标题")
    private String title;

    @ApiModelProperty(value = "题目内容或描述")
    private String content;

    @ApiModelProperty(value = "题目难度，简单、中等、困难")
    private Integer difficulty;

    @ApiModelProperty(value = "题目答案")
    private String answer;

    @ApiModelProperty(value = "题目分类ID，关联 code_duck_question_category 表")
    private String questionCategoryId;

    @ApiModelProperty(value = "排序字段（数值越小排序越靠前）")
    private Integer sort;

    @ApiModelProperty(value = "题目状态，如 ACTIVE（活跃）、INACTIVE（停用）")
    private String status;

    @ApiModelProperty(value = "是否为会员专属，0为否，1为是")
    private Integer isVip;

    @ApiModelProperty(value = "标签ID列表")
    private List<String> tagIdList;
}
